package com.example.jpatest.repository;

import com.example.jpatest.entity.Enter;
import com.example.jpatest.entity.Win;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

public interface WinRepository extends JpaRepository<Win,Long> {
    public Optional<Win> findByEnter(Enter enter);
}
